﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AffordoPlugin.Helper
{
	public static class ConfigurationHelper
	{
		public static string GetAppSettingValue(string key)
		{
			try
			{
				return  ConfigurationManager.AppSettings[key];
			}
			catch (Exception ex )
			{
				LogHelper.Error($"Key:{key}的读取异常 {ex.Message+ex.InnerException?.Message??""}");
				return null;
			}
		}
	}
}
